!function(a){
	a.domUtils = {
		getStyle:function(ele,sty_name){
			/**
			 * 获取传入的dom元素样式
			 * eg:domUtils.getStyle(dom,"width");
			 * ele:传入的某个dom元素
			 * sty_name:输入的某个样式名(可省略)
			 */
			var style = null;
			sty_name = sty_name || false;
			if(a.getComputedStyle) {
				style = a.getComputedStyle(ele, null);
			}else{
				style = ele.currentStyle;
			}
			return sty_name ? style[sty_name] : style;
		},
		a.onresize = function(){}
	}
}(window);



